package cn.agiledata.bank.transaction.logic;

import cn.agiledata.bank.common.util.WeatherUtil;
import cn.agiledata.bank.hibernateBean.AbstractTransaction;

public class TransDetail extends AbstractTransaction{
	private String creditName;
	private String debitName;
	private String audit;
	public String getCreditName() {
		return WeatherUtil.getNameOrEmailOrMobileByAccount(this.getCredit().getAccount());
	}
	public void setCreditName(String creditName) {
		this.creditName = creditName;
	}
	public String getDebitName() {
		return WeatherUtil.getNameOrEmailOrMobileByAccount(this.getDebit().getAccount());
	}
	public void setDebitName(String debitName) {
		this.debitName = debitName;
	}
	public String getAudit() {
		return audit;
	}
	public void setAudit(String audit) {
		this.audit = audit;
	}
	
}
